﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace POVRay {
    [PRBlock("plane")]
    public class Plane : Object {
        [PRParam(HasComma=true)]
        public Vector3 Normal { get; set; }

        [PRParam()]
        public float Offset { get; set; }

        public Plane(Vector3 normal, float offset) {
            Normal = normal;
            Offset = offset;
        }

        public override string ToString(int level) {
            return this.POVRayString(level);

            //return "plane { " + Scene.Indentation(level + 1) + Normal + " " + Scene.Indentation(level+1) + Offset.POVRayString() + " " + GeneralParameters(level + 1) + " " + Scene.Indentation(level) + "}";
        }
    }
}
